package com.hsteach.web.controller.equipment.dto;

import com.hsteach.common.annotation.Excel;
import com.hsteach.web.controller.equipment.vo.EquipmentRepairFileVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "EquipmentRepairDto", description = "设备报修信息")
@Data
public class EquipmentRepairDto implements Serializable {

    /** 报修类型 */
    @ApiModelProperty(value = "报修类型", required = true)
    private String repairType;

    /** 所在建筑 id*/
    @ApiModelProperty(value = "所在建筑 id", required = true)
    private String buildingLocation;


    /** 所在建筑名称*/
    @ApiModelProperty(value = "所在建筑名称", required = true)
    private String buildingLocationName;

    /** 所在房间id */
    @ApiModelProperty(value = "所在房间id", required = false)
    private String roomLocation;

    /** 所在房间名称 */
    @ApiModelProperty(value = "所在房间名称", required = false)
    private String roomLocationName;

    /** 报修描述 */
    @ApiModelProperty(value = "报修描述", required = true)
    private String repairDesc;

    /** 报修人id */
    @ApiModelProperty(value = "报修人id", required = false)
    private String personId;

    /** 报修人名称 */
    @ApiModelProperty(value = "报修人名称", required = false)
    private String personName;

    /** 附件url */
    @ApiModelProperty(value = "附件url", required = false)
    private List<EquipmentRepairFileVo> files;
}
